package com.campus.backend.bean.delivery;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 配送员更新Bean
 */
@Data
@ApiModel("配送员更新Bean")
public class DeliveryUpdateBean {

    @ApiModelProperty(value = "配送员ID", required = true)
    @NotNull(message = "配送员ID不能为空")
    private Long id;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("工作状态：0-休息中，1-工作中")
    private Integer workStatus;
}